package com.pets.enums;




/**
 * 是否成功枚举类
 **/

public enum YesNoEnum  {
    /**
     * 数据状态
     */
    YES(0,"是"),
    NO(1,"否")
    ;

    YesNoEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    private Integer code;

    private String desc;


}
